package com.zhiyou100.pra2;

/**
 * 宠物类
 */
public class Pet {
    //宠物名字
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    //玩耍
    public void play(){

    }
    //吃
    public void eat() {

    }

}
